package com.gzx.plugin.tjzy.modular.sms.whitelist.mapper;

import com.gzx.plugin.tjzy.modular.sms.whitelist.entity.GzxSmsWhitelist;
import com.gzx.plugin.tjzy.modular.sms.whitelist.vo.GzxSmsWhitelistVo;
import org.apache.ibatis.annotations.Insert;
import vip.xiaonuo.common.mapper.BaseMapperPlus;

/**
 * @author xbl
 */
public interface GzxSmsWhitelistMapper extends BaseMapperPlus<GzxSmsWhitelist, GzxSmsWhitelistVo> {

    //批量导入短信白名单
    @Insert("<script> " +
            "INSERT IGNORE INTO gzx_sms_whitelist (product_name, product_code,current_month,phone, tenant_id, create_user, create_time) " +
            "VALUES ${valSql}" +
            "</script>")
    void insertBatchSql(String batchSql);
}
